<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  	<%@ include file="../main.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<base href="basePath">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	
    <style type="text/css">
    	#titled
    	{
    		padding:20px;
    		font-size:40px;
    		font-weight:bold;
    		color:green;
    		text-align:center;
    	}
    	
    </style>
<title>个人信息</title>
</head>
<body>
<div id="titled">
	个人信息
</div>

      <div class="weui-cells">
          <a class="weui-cell weui-cell_access" href="<c:url value='/UserEditServlet?edit=username&id=${session_user.id } ' />">
              <div class="weui-cell__hd"><img src="<c:url value='/view/images/desc.jpg' />" alt="" style="width:20px;margin-right:5px;display:block"></div>
              <div class="weui-cell__bd">
                  <p>用户名 </p>
              </div>
              <div class="weui-cell__ft" id="name"></div>
          </a>
          <a class="weui-cell weui-cell_access" href="<c:url value='/UserEditServlet?edit=sex&id=${session_user.id } ' />">
              <div class="weui-cell__hd"><img src="<c:url value='/view/images/desc.jpg' />" alt="" style="width:20px;margin-right:5px;display:block"></div>
              <div class="weui-cell__bd">
                  <p>性别</p>
              </div>
              <div class="weui-cell__ft" id="sex"></div>
          </a>
          <a class="weui-cell weui-cell_access" href="<c:url value='/UserEditServlet?edit=birthday&id=${session_user.id } ' />">
              <div class="weui-cell__hd"><img src="<c:url value='/view/images/desc.jpg' />" alt="" style="width:20px;margin-right:5px;display:block"></div>
              <div class="weui-cell__bd">
                  <p>生日</p>
              </div>
              <div class="weui-cell__ft" id="birthday"></div>
          </a>
          <a class="weui-cell weui-cell_access" href="<c:url value='/UserEditServlet?edit=email&id=${session_user.id } ' />">
              <div class="weui-cell__hd"><img src="<c:url value='/view/images/desc.jpg' />" alt="" style="width:20px;margin-right:5px;display:block"></div>
              <div class="weui-cell__bd">
                  <p>邮箱</p>
              </div>
              <div class="weui-cell__ft" id="email"></div>
          </a>
          <a class="weui-cell weui-cell_access" href="<c:url value='/UserEditServlet?edit=phone&id=${session_user.id } ' />">
              <div class="weui-cell__hd"><img src="<c:url value='/view/images/desc.jpg' />" alt="" style="width:20px;margin-right:5px;display:block"></div>
              <div class="weui-cell__bd">
                  <p>手机号码</p>
              </div>
              <div class="weui-cell__ft" id="phone"></div>
          </a>
          <a class="weui-cell weui-cell_access" href="<c:url value='/UserEditServlet?edit=note&id=${session_user.id } ' />">
              <div class="weui-cell__hd"><img src="<c:url value='/view/images/desc.jpg' />" alt="" style="width:20px;margin-right:5px;display:block"></div>
              <div class="weui-cell__bd">
                  <p>个性签名</p>
              </div>
              <div class="weui-cell__ft" id="note"></div>
          </a>
          <a class="weui-cell weui-cell_access" >
              <div class="weui-cell__hd"><img src="<c:url value='/view/images/desc.jpg' />" alt="" style="width:20px;margin-right:5px;display:block"></div>
              <div class="weui-cell__bd">
                  <p>身份</p>
              </div>
              <div class="weui-cell__ft" id="status">
              	
              </div>
          </a>
          <a class="weui-cell weui-cell_access" >
              <div class="weui-cell__hd"><img src="<c:url value='/view/images/desc.jpg' />" alt="" style="width:20px;margin-right:5px;display:block"></div>
              <div class="weui-cell__bd">
                  <p>状态</p>
              </div>
              <div class="weui-cell__ft" id="mode">
              	
              </div>
          </a>
      </div>
      <a href="<c:url value='/LoginServlet' />" class="weui-btn weui-btn_primary" >退出</a>

    <script type="text/javascript">
	    $(function(){
	       desc();
	    });
    </script>
 		<input type="hidden" id="id" value="${session_user.id}">
	<script type="text/javascript">
   $(function(){
       $('#my').addClass('weui-bar__item_on').siblings('.weui-bar__item_on').removeClass('weui-bar__item_on');
   });
  
</script>
</body>
</html>
